#ifndef __SOFTLED_DIG8_DRV_H_
#define __SOFTLED_DIG8_DRV_H_

#include <mof_stdint.h>
#include <mof_board.h>

typedef struct
{
uint8_t LedDrvCaseSelect;
uint8_t *Led_WriteSegBuffer;
const uint8_t *Led_WriteComBuffer;
uint8_t LedBrightSet;
uint8_t LedBrightCnt;
//uint8_t LedBlinkSegTempVal;

#ifdef DisplaySoftLedBrightBreath
uint8_t *Led_WriteSegBreathMask;
uint8_t LedBreathBrightRun;
uint8_t LedBreathBrightSet;
#endif 

	
} mof_softled_drv_t;

void mof_softled_drv_init(mof_softled_drv_t * p_softled);

void mof_softled_drv_in_isr(mof_softled_drv_t * p_softled);
void mof_softled_drv_set_bright(mof_softled_drv_t * p_softled,uint8_t bright);


#ifdef DisplaySoftLedBrightBreath
void  mof_softled_drv_set_breathbright(mof_softled_drv_t * p_softled,uint8_t bright);
#endif 

#endif

